//
//  DetailViewController.h
//  YouWen
//
//  Created by Lee GJ on 15-3-10.
//  Copyright (c) 2015年 刘永和. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Model.h"

@protocol cellectDelegate <NSObject>

- (void)cellect;

@end
@protocol deleteDelegate <NSObject>

- (void)deleteCar;

@end

@interface DetailViewController : UIViewController<UIWebViewDelegate>
@property (nonatomic, strong)Model *model;
@property (nonatomic, strong) UIWebView *webView;
@property (nonatomic, strong)UIButton *collectButton;
@property (nonatomic, strong)UIButton *collectButton2;
@property (nonatomic, strong)id<cellectDelegate>myDelegate;//收藏代理
@property (nonatomic, strong)id<deleteDelegate>myDelegate2;//取消收藏代理
@property BOOL isCollect;

@property (nonatomic, strong)UIAlertView *alertView;
@property (nonatomic, strong)UIAlertView *alertView2;

@end
